<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Successful Action</title>
    </head>
    <body>
        <h1>Successful</h1>
        <div class="Message">
            <p>${message}</p>
        </div>
            <form action=<c:choose> <c:when test="${fn:length('${redirect}') gt 0 }">${redirect} </c:when><c:otherwise>"LoginPage"</c:otherwise></c:choose>>
            <input type="submit" value="OK"/>
        </form>
    </body>
</html>
